<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>Snapshot Members</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">TestApi 0.3</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">Snapshot Members
					</h1>
      </div>
    </div>
    <div id="nstext">
      <p>
        <a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.html">Snapshot overview</a>
      </p>
      <h4 class="dtH4">Public Static Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.FromFile.html">FromFile</a></td><td width="50%"> Creates a Snapshot instance from data in the specified image file. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.FromRectangle.html">FromRectangle</a></td><td width="50%"> Creates a Snapshot instance populated with pixels sampled from the specified screen rectangle, from the context of the Desktop. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.FromWindow.html">FromWindow</a></td><td width="50%"> Creates a Snapshot instance populated with pixels sampled from the rectangle of the specified window. </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Item.html">Item</a></td><td width="50%"> Returns a Color instance for the pixel at the specified row and column. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Width.html">Width</a></td><td width="50%"> Returns the width of the pixel buffer. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Height.html">Height</a></td><td width="50%"> Returns the height of the pixel buffer. </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.And.html">And</a></td><td width="50%"> Modifies the current image to contain the result of a bitwise AND of this Snapshot and the mask. This technique can be used to remove data from an image. http://en.wikipedia.org/wiki/Bitmask#Image_masks </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Clone.html">Clone</a></td><td width="50%"> Creates a deep-copied clone Snapshot with the same value as the existing instance. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.CompareTo~Overloads.html">CompareTo</a></td><td width="50%">Overloaded.  Compares the current Snapshot instance to the specified Snapshot to produce a difference image. Note: This does not compare alpha channels. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Crop.html">Crop</a></td><td width="50%"> Creates a new Snapshot based on the cropped bounds of the current snapshot. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.DrawLine.html">DrawLine</a></td><td width="50%"> Draw a vertical line from the bottom of the specified column up to the height given. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Or.html">Or</a></td><td width="50%"> Modifies the current image to contain the result of a bitwise OR of this Snapshot and the mask. This technique can be used to merge data from two images. http://en.wikipedia.org/wiki/Bitmask#Image_masks </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.Resize.html">Resize</a></td><td width="50%"> Creates a new Snapshot of the specified size from the original using bilinear interpolation. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.ToFile.html">ToFile</a></td><td width="50%"> Writes the current Snapshot (at 32 bits per pixel) to a file. </td></tr></table>
      </div>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.html">Snapshot Class</a> | <a href="~Microsoft.Test.VisualVerification.html">Microsoft.Test.VisualVerification Namespace</a></p>
      <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
        <param name="Keyword" value="Snapshot class">
        </param>
        <param name="Keyword" value="Microsoft.Test.VisualVerification.Snapshot class">
        </param>
        <param name="Keyword" value="Snapshot class, all members">
        </param>
      </object>
    </div>
  </body>
</html>